package com.reform.service;

import com.reform.pojo.phase.Batch;
import com.baomidou.mybatisplus.extension.service.IService;

import java.sql.SQLException;

/**
 * <p>
 * 批次表 服务类
 * </p>
 *
 * @author mortale
 * @since 2021-07-13
 */
public interface IBatchService extends IService<Batch> {

    /**
     * 创建批次
     * @return
     * @throws SQLException
     */
    int creatBatch(Batch batch) throws SQLException;


    /**
     * 删除批次
     * @param batch_id
     * @return
     * @throws SQLException
     */
    int deleteBatch(String batch_id) throws SQLException;

    /**
     * 修改批次
     * @return
     * @throws SQLException
     */
    int updateBatch(Batch batch) throws SQLException;

}
